
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统首页</title>
    <link rel="stylesheet" href="{$CSS}/bootstrap3.3.7.min.css">
    <style>
        td,th{
            text-align: center;vertical-align: middle !important;
            border-color:#C1DAD7 !important;
        }
        td input{
            width:50% !important;
            margin: 0 auto;
        }
        .info{
            background: #D5EDEF
        }
        .table-bordered{
            border-color:#D5EDEF
        }
    </style>
</head>

<body>
<div style="padding:10px;border-bottom:1px solid #eee;font-size:15px;font-weight:700">使用员工列表
</div>
<div style="padding:20px">
    <form class="form-horizontal form-group" action="" method="post">
        <table class="table table-bordered table-hover">
            <thead>
            <tr class="info">
                <th class="col-md-6">名称</th>
                <th class="col-md-6">可使用员工数</th>
            </tr>
            </thead>
            <tbody>
            {loop $types as $r}
            <tr>
                <td>
                    {$r->typename}<!--<input type="text" class="form-control" disabled="disabled" style="background:#CCCCCC" value="{$r->typeid}" name="typeid@{$r->id}"/>-->
                </td>
                <td>
                    <input type="text" class="form-control" value="{$r->qouta}" name="qouta@{$r->id}"/>
                </td>
            </tr>
            {/loop}
            </tbody>
        </table>
        <button class="btn btn-primary" name="btnAdd" ID="btnAdd" type="submit">提交</button>
    </form>
</div>
</body>
</html>